using FluentNHibernate.Conventions;
using FluentNHibernate.Conventions.Instances;

namespace w2.Data.NHibernateMaps.Conventions
{
	public class HasManyToManyConvention : IHasManyToManyConvention
	{
		public void Apply(IManyToManyCollectionInstance instance)
		{
			instance.Cascade.SaveUpdate();
		}
	}
}
